using FileImportSystem2.Forms;

namespace FileImportSystem2
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            ApplicationConfiguration.Initialize();
            Application.Run(new MainForm());

            NotifyIcon notifyIcon = new NotifyIcon();
            using (var ms = new MemoryStream(Resource1.xhs_icon))
            {
                notifyIcon.Icon = new Icon(ms);
            }
            notifyIcon.Visible = true;

        }
    }
}